<template>
    <van-nav-bar title="首页" left-text="返回" left-arrow @click-left="onClickLeft" />
    <van-tabs v-model:active="active">
        <van-tab title="推荐">内容 1</van-tab>
        <van-tab title="汽车">内容 2</van-tab>
        <van-tab title="鞋子">内容 3</van-tab>
        <van-tab title="美食">内容 4</van-tab>
    </van-tabs>
    <van-search v-model="value" show-action label="北京" placeholder="请输入搜索关键词" @search="onSearch">
        <template #action>
            <div @click="onClickButton">搜索</div>
        </template>
    </van-search>
</template>

<script setup>

</script>

<style lang="scss" scoped></style>